{{#extends @community.html}}

{{:title}}{{?community.url}}Настройки сообщества{{?:}}Создание сообщества{{/?}}{{/:title}}

{{:widgets_js}}
	{{!for __widgets__ do=@:widget_js}}
	{{:widget_js *widget_js_url}}  {{!connect url=*widget_js_url type="js"}} {{/:widget_js}}
	{{:widget_js *widget_js_path}} {{!connect *widget_js_path type="js"}}    {{/:widget_js}}
{{/:widgets_js}}

{{:init}}
	{{@community.html:init}}
	{{!connect "screen/widgets-default.css" media="screen" charset="utf-8"}}
	{{!connect "screen/content-preferences.css" media="screen" charset="utf-8"}}
	{{!connect "screen/content-create.css" media="screen" charset="utf-8"}}
	{{!connect "screen/popup-directories.css" media="screen" charset="utf-8"}}
	{{!connect "screen/node.css" media="screen" charset="utf-8"}}
	{{!connect "prototype.js" pos="top"}}
	{{@:widgets_js}}
	{{!connect "scriptaculous/scriptaculous.js"}}
{{/:init}}

{{:body}}
<div id="popup"></div>
{{@html/common/servicebar.html use_prototype=1}}<!-- HACK : 2008-09-15 : lucky
use_prototype отключает подгрузку jQuery в этом шаблоне
чтобы избежать конфликта с местными js, использующими prototype.js
-->
{{@html/node/head.html}}
<div class="layout-standard content-preferences">
	<div class="layout-c-left">
	{{?community.url}}
	{{@html/widgets/preferences_navigation.html}}
	{{/?}}
	</div>
	<div class="layout-c-main content-create">
		<div class="contenthandler">
			<h1 class="title-">{{?community.url}}Настройки сообщества{{?:}}Создание сообщества{{/?}}</h1>
			{{community_form|safe}}
			{{?community.url}}{{widgets}}{{/?}}
		</div>
	</div>
	</div>
{{/:body}}
